﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WenDangOne.DbModel.BaseInfoManager;
using WenDangOne.ViewModel.BaseInfoManagerView;
using WenDangOne.ViewModel.common;

namespace LianChuDemo.IDal.BaseInfoManagerDal
{
    public interface IRoleDb
    {
        RoleDbView GetRoleViewById(int roleId);
        PagerResult<RoleDb> SearchPage(SearchModel searchModel);
        int RoleDbAdd(RoleDbView view);
        bool RoleUpdate(RoleDbView view);
        //根据name来进行获取值
        List<RoleDb> GetRoleDbsByUserName(string userName);

    }
}
